#version 330

in vec2 iVertex;
in vec2 iTex;
in vec3 iColor;

out vec2 vTex;
out vec3 vColor;

uniform mat2x3 uTrans;

void main()
{
    gl_Position=vec4(vec3(iVertex,1)*uTrans,0,1);
    
//    gl_Position=vec4(iVertex,0,1);
    vTex=iTex;
    vColor=iColor;
}
